/*
 *    Copyright (c) 2018-2025, orient All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the pig4cloud.com developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: orient
 */

package cn.goswan.orient.guohur.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 物流单
 *
 * @author wangchuang
 * @date 2020-05-27 16:43:29
 */
@Data
@TableName("logistics")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "物流单")
public class Logistics extends Model<Logistics> {
private static final long serialVersionUID = 1L;

    /**
     * 物流单编号
     */
	@TableId(type = IdType.INPUT)
    @ApiModelProperty(value="物流单编号")
    private String logisCode;
    /**
     * 派送人ID
     */
    @ApiModelProperty(value="派送人ID")
    private Integer senderId;
    /**
     * 计划商品数量
     */
    @ApiModelProperty(value="计划商品数量")
    private Integer plantTransCount;
    /**
     * 实际商品数量
     */
    @ApiModelProperty(value="实际商品数量")
    private Integer waybillCount;
    /**
     * 集散中心（起始地）
     */
    @ApiModelProperty(value="集散中心（起始地）")
    private String entrepotId;
    /**
     * 配送中心（目的地）
     */
    @ApiModelProperty(value="配送中心（目的地）")
    private String distributionId;
    /**
     * 配送距离
     */
    @ApiModelProperty(value="配送距离")
    private String sendDistance;
    /**
     * 配送价格
     */
    @ApiModelProperty(value="配送价格")
    private BigDecimal sendPrice;
    /**
     * 配送状态
     */
    @ApiModelProperty(value="配送状态")
    private String sendState;
    /**
     * 预计开始时间
     */
    @ApiModelProperty(value="预计开始时间")
    private LocalDateTime plantBeginTime;
    /**
     * 预计结束时间
     */
    @ApiModelProperty(value="预计结束时间")
    private LocalDateTime plantEndTime;
    /**
     * 实际开始时间
     */
    @ApiModelProperty(value="实际开始时间")
    private LocalDateTime acuBeginTime;
    /**
     * 实际结束时间
     */
    @ApiModelProperty(value="实际结束时间")
    private LocalDateTime acuEndTime;
    }
